package cn.kgc.spring.entity;

import cn.kgc.spring.annotations.Component;
import cn.kgc.spring.annotations.Value;
import lombok.Data;

/**
 * @author 课工场
 * @date 2024/2/21
 * @description
 */
@Data
@Component
public class Student {

    @Value(value = "tom")
    private String name;

    @Value("20")
    private Integer age;

}
